package cn.wolfcode.luowowo.comment.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Map;

/**
 * 不想建服务，只想白嫖服务
 * 配置文件不会配
 */
@Setter
@Getter
@Document("UserInfoItem")
public class UserInfoItem implements Serializable {
    @Id
    private String id;  //mongodb默认的是id
    private Long uid;//关联的用户id
    private Long score;//用户的金币
    private Map<Long,Integer> itemNum;//用户的道具
}